import { getToken, request } from '@inbiz/utils';

const token = getToken();
// 指派列表
export async function getWillAssignList(params?: any) {
  return request(`/edoc2Flow-web/process/getResults/getFutureAssigned`, {
    params,
  });
}

// 删除指派
export async function removeAssign(params?: any) {
  return request(`/edoc2Flow-web/process/operation/processDeleteAssignment?orgToken=${token}`, {
    method: 'post',
    data: params,
  });
}
